package com.seean.clock.model.user;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.sql.Blob;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author wsx
 * @since 2019-08-26
 */
public class SysLog extends Model<SysLog> {

    private static final long serialVersionUID = 1L;

    private Long id;

    private String type;

    private String title;

    private String serviceId;

    private String createBy;

    private LocalDateTime createTime;

    private LocalDateTime updateTime;

    private String remoteAddr;

    private String userAgent;

    private String requestUri;

    private String method;

    private Blob params;

    private Blob time;

    private String delFlag;

    private Blob exception;

    private Long tenantId;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getServiceId() {
        return serviceId;
    }

    public void setServiceId(String serviceId) {
        this.serviceId = serviceId;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public String getRemoteAddr() {
        return remoteAddr;
    }

    public void setRemoteAddr(String remoteAddr) {
        this.remoteAddr = remoteAddr;
    }

    public String getUserAgent() {
        return userAgent;
    }

    public void setUserAgent(String userAgent) {
        this.userAgent = userAgent;
    }

    public String getRequestUri() {
        return requestUri;
    }

    public void setRequestUri(String requestUri) {
        this.requestUri = requestUri;
    }

    public String getMethod() {
        return method;
    }

    public void setMethod(String method) {
        this.method = method;
    }

    public Blob getParams() {
        return params;
    }

    public void setParams(Blob params) {
        this.params = params;
    }

    public Blob getTime() {
        return time;
    }

    public void setTime(Blob time) {
        this.time = time;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public Blob getException() {
        return exception;
    }

    public void setException(Blob exception) {
        this.exception = exception;
    }

    public Long getTenantId() {
        return tenantId;
    }

    public void setTenantId(Long tenantId) {
        this.tenantId = tenantId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "SysLog{" +
        "id=" + id +
        ", type=" + type +
        ", title=" + title +
        ", serviceId=" + serviceId +
        ", createBy=" + createBy +
        ", createTime=" + createTime +
        ", updateTime=" + updateTime +
        ", remoteAddr=" + remoteAddr +
        ", userAgent=" + userAgent +
        ", requestUri=" + requestUri +
        ", method=" + method +
        ", params=" + params +
        ", time=" + time +
        ", delFlag=" + delFlag +
        ", exception=" + exception +
        ", tenantId=" + tenantId +
        "}";
    }
}
